home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection Student Program / ADC Tools Sampler CD Disk 3 1999.iso / Metrowerks CodeWarrior / Java Support / Java_Source / Java2 / src / java / security / GeneralSecurityException.java < prev    next >
Encoding:
Java Source  |  1999-05-28  |  1.5 KB  |  51 lines  |  [TEXT/CWIE]

  1. /*
  2.  * @(#)GeneralSecurityException.java    1.6 98/09/21
  3.  *
  4.  * Copyright 1997, 1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.security;
  16.  
  17. /**
  18.  * This is the general security exception class, which serves to group all
  19.  * the exception classes of the <code>java.security</code> package that
  20.  * extend from it.
  21.  * (Exceptions are AccessControlException and CertificateException,
  22.  * which subclass from <code>java.lang.SecurityException</code>, and ProviderException
  23.  * and InvalidParameterException, which subclass from 
  24.  * <code>java.lang.RuntimeException</code>.)
  25.  * 
  26.  * @version 1.6, 99/03/26
  27.  * @author Jan Luehe
  28.  */
  29.  
  30. public class GeneralSecurityException extends Exception {
  31.  
  32.     /** 
  33.      * Constructs a GeneralSecurityException with no detail message.  
  34.      */
  35.     public GeneralSecurityException() {
  36.         super();
  37.     }
  38.  
  39.     /**
  40.      * Constructs a GeneralSecurityException with the specified detail
  41.      * message.
  42.      * A detail message is a String that describes this particular
  43.      * exception.
  44.      *
  45.      * @param msg the detail message.  
  46.      */
  47.     public GeneralSecurityException(String msg) {
  48.         super(msg);
  49.     }
  50. }
  51.